package de.dhbw.karlsruhe.picsim.rs232;

import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: user
 * Date: May 2, 2010
 * Time: 5:10:22 PM
 */
public interface ComManager extends ComHandler {

    boolean changeComPort(@NonNls String toPort);

    @NotNull
    List<? extends String> getAllAvailablePorts();

    void closeActivePort();

    @Nullable
    String getCurrentPort();
}
